<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="author" content="wangbo">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>数据转化</title>
</head>
<body>
  <script>
    // \t 空格
    let str="我是双引\t号";
    console.log(str)
    let str1="我是双引\t\t号";
    console.log(str1)
    // \n换行
    let str2="我是双引\n\t号";
    console.log(str2)
    // \ 转义符号
    let str3="我是双引\"号";
    console.log(str3)
  </script>
</body>
</html>